package org.springblade.mach.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;

/**
 * @author LY
 * @version 1.0
 * @date 2021/1/12 16:57
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class StandardPartsExcel implements Serializable {
	@ColumnWidth(15)
	@ExcelProperty("代码")
	private String code;
	@ColumnWidth(20)
    @ExcelProperty("名称")
    private String name;
	@ColumnWidth(15)
	@ExcelProperty("材料")
	private String material;
	@ColumnWidth(15)
	@ExcelProperty("单重")
	private String singleWeight;
	@ColumnWidth(20)
	@ExcelProperty("备注")
	private String remark;

}
